package com.ajx.blog.mapper;

import com.ajx.blog.entity.ArticleComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleCommentMapper extends BaseMapper<ArticleComment> {

    int insertComment(ArticleComment articleComment);

    int addBackComment(@Param("pid")Integer cid,@Param("userid") Integer uid,@Param("content") String content);

    List<ArticleComment> selectBackComment();
}
